package com.lxmes.business.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lxmes.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.lxmes.common.core.domain.BaseEntity;

/**
 * 质量检验单对象 nc_quality_inspection_order
 *
 * @author lx
 * @date 2023-06-01
 */
@ApiModel(value = "NcQualityInspectionOrder", description = "质量检验单对象")
public class NcQualityInspectionOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @ApiModelProperty("${column.columnComment}")
    private Long id;

    /** 公司名称 */
    @Excel(name = "公司名称")
    @ApiModelProperty("公司名称")
    private String factoryName;

    /** 公司代码 */
    @Excel(name = "公司代码")
    @ApiModelProperty("公司代码")
    private String factoryCode;

    /** 质检类型 */
    @Excel(name = "质检类型")
    @ApiModelProperty("质检类型")
    private String inspectionType;

    /** 报检编号 */
    @Excel(name = "报检编号")
    @ApiModelProperty("报检编号")
    private String inspectionNumber;

    /** 入库单号 */
    @Excel(name = "入库单号")
    @ApiModelProperty("入库单号")
    private String warehouseEntryNumber;

    /** 物料名称 */
    @Excel(name = "物料名称")
    @ApiModelProperty("物料名称")
    private String materialName;

    /** 物料子编号 */
    @Excel(name = "物料子编号")
    @ApiModelProperty("物料子编号")
    private String materialSubcode;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    @ApiModelProperty("供应商名称")
    private String supplierName;

    /** 物料单位 */
    @Excel(name = "物料单位")
    @ApiModelProperty("物料单位")
    private String materialUnit;

    /** 条码号 */
    @Excel(name = "条码号")
    @ApiModelProperty("条码号")
    private String barcodeNumber;

    /** 批次 */
    @Excel(name = "批次")
    @ApiModelProperty("批次")
    private String batchNumber;

    /** 入库数量 */
    @Excel(name = "入库数量")
    @ApiModelProperty("入库数量")
    private Long warehouseEntryQuantity;

    /** 库位编码 */
    @Excel(name = "库位编码")
    @ApiModelProperty("库位编码")
    private String locationCode;

    /** 库位数量 */
    @Excel(name = "库位数量")
    @ApiModelProperty("库位数量")
    private Long locationQuantity;

    /** 质检控制 */
    @Excel(name = "质检控制")
    @ApiModelProperty("质检控制")
    private String qualityControl;

    /** 质检节点 */
    @Excel(name = "质检节点")
    @ApiModelProperty("质检节点")
    private String qualityNode;

    /** 质检工序 */
    @Excel(name = "质检工序")
    @ApiModelProperty("质检工序")
    private String qualityProcess;

    /** 检验项目 */
    @Excel(name = "检验项目")
    @ApiModelProperty("检验项目")
    private String inspectionItem;

    /** 抽检数量 */
    @Excel(name = "抽检数量")
    @ApiModelProperty("抽检数量")
    private Long samplingQuantity;

    /** 检验地点 */
    @Excel(name = "检验地点")
    @ApiModelProperty("检验地点")
    private String inspectionLocation;

    /** 质检记录编号 */
    @Excel(name = "质检记录编号")
    @ApiModelProperty("质检记录编号")
    private String qualityRecordNumber;

    /** 质检员工号 */
    @Excel(name = "质检员工号")
    @ApiModelProperty("质检员工号")
    private String inspectorId;

    /** 质检员姓名 */
    @Excel(name = "质检员姓名")
    @ApiModelProperty("质检员姓名")
    private String inspectorName;

    /** 质检时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "质检时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty("质检时间")
    private Date inspectionTime;

    /** 质检结果 */
    @Excel(name = "质检结果")
    @ApiModelProperty("质检结果")
    private String inspectionResult;

    /** 审核人 */
    @Excel(name = "审核人")
    @ApiModelProperty("审核人")
    private String reviewer;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty("审核时间")
    private Date reviewTime;

    /** 结果应用 */
    @Excel(name = "结果应用")
    @ApiModelProperty("结果应用")
    private String resultApplication;


    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setFactoryName(String factoryName)
    {
        this.factoryName = factoryName;
    }

    public String getFactoryName()
    {
        return factoryName;
    }
    public void setFactoryCode(String factoryCode)
    {
        this.factoryCode = factoryCode;
    }

    public String getFactoryCode()
    {
        return factoryCode;
    }
    public void setInspectionType(String inspectionType)
    {
        this.inspectionType = inspectionType;
    }

    public String getInspectionType()
    {
        return inspectionType;
    }
    public void setInspectionNumber(String inspectionNumber)
    {
        this.inspectionNumber = inspectionNumber;
    }

    public String getInspectionNumber()
    {
        return inspectionNumber;
    }
    public void setWarehouseEntryNumber(String warehouseEntryNumber)
    {
        this.warehouseEntryNumber = warehouseEntryNumber;
    }

    public String getWarehouseEntryNumber()
    {
        return warehouseEntryNumber;
    }
    public void setMaterialName(String materialName)
    {
        this.materialName = materialName;
    }

    public String getMaterialName()
    {
        return materialName;
    }
    public void setMaterialSubcode(String materialSubcode)
    {
        this.materialSubcode = materialSubcode;
    }

    public String getMaterialSubcode()
    {
        return materialSubcode;
    }
    public void setSupplierName(String supplierName)
    {
        this.supplierName = supplierName;
    }

    public String getSupplierName()
    {
        return supplierName;
    }
    public void setMaterialUnit(String materialUnit)
    {
        this.materialUnit = materialUnit;
    }

    public String getMaterialUnit()
    {
        return materialUnit;
    }
    public void setBarcodeNumber(String barcodeNumber)
    {
        this.barcodeNumber = barcodeNumber;
    }

    public String getBarcodeNumber()
    {
        return barcodeNumber;
    }
    public void setBatchNumber(String batchNumber)
    {
        this.batchNumber = batchNumber;
    }

    public String getBatchNumber()
    {
        return batchNumber;
    }
    public void setWarehouseEntryQuantity(Long warehouseEntryQuantity)
    {
        this.warehouseEntryQuantity = warehouseEntryQuantity;
    }

    public Long getWarehouseEntryQuantity()
    {
        return warehouseEntryQuantity;
    }
    public void setLocationCode(String locationCode)
    {
        this.locationCode = locationCode;
    }

    public String getLocationCode()
    {
        return locationCode;
    }
    public void setLocationQuantity(Long locationQuantity)
    {
        this.locationQuantity = locationQuantity;
    }

    public Long getLocationQuantity()
    {
        return locationQuantity;
    }
    public void setQualityControl(String qualityControl)
    {
        this.qualityControl = qualityControl;
    }

    public String getQualityControl()
    {
        return qualityControl;
    }
    public void setQualityNode(String qualityNode)
    {
        this.qualityNode = qualityNode;
    }

    public String getQualityNode()
    {
        return qualityNode;
    }
    public void setQualityProcess(String qualityProcess)
    {
        this.qualityProcess = qualityProcess;
    }

    public String getQualityProcess()
    {
        return qualityProcess;
    }
    public void setInspectionItem(String inspectionItem)
    {
        this.inspectionItem = inspectionItem;
    }

    public String getInspectionItem()
    {
        return inspectionItem;
    }
    public void setSamplingQuantity(Long samplingQuantity)
    {
        this.samplingQuantity = samplingQuantity;
    }

    public Long getSamplingQuantity()
    {
        return samplingQuantity;
    }
    public void setInspectionLocation(String inspectionLocation)
    {
        this.inspectionLocation = inspectionLocation;
    }

    public String getInspectionLocation()
    {
        return inspectionLocation;
    }
    public void setQualityRecordNumber(String qualityRecordNumber)
    {
        this.qualityRecordNumber = qualityRecordNumber;
    }

    public String getQualityRecordNumber()
    {
        return qualityRecordNumber;
    }
    public void setInspectorId(String inspectorId)
    {
        this.inspectorId = inspectorId;
    }

    public String getInspectorId()
    {
        return inspectorId;
    }
    public void setInspectorName(String inspectorName)
    {
        this.inspectorName = inspectorName;
    }

    public String getInspectorName()
    {
        return inspectorName;
    }
    public void setInspectionTime(Date inspectionTime)
    {
        this.inspectionTime = inspectionTime;
    }

    public Date getInspectionTime()
    {
        return inspectionTime;
    }
    public void setInspectionResult(String inspectionResult)
    {
        this.inspectionResult = inspectionResult;
    }

    public String getInspectionResult()
    {
        return inspectionResult;
    }
    public void setReviewer(String reviewer)
    {
        this.reviewer = reviewer;
    }

    public String getReviewer()
    {
        return reviewer;
    }
    public void setReviewTime(Date reviewTime)
    {
        this.reviewTime = reviewTime;
    }

    public Date getReviewTime()
    {
        return reviewTime;
    }
    public void setResultApplication(String resultApplication)
    {
        this.resultApplication = resultApplication;
    }

    public String getResultApplication()
    {
        return resultApplication;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("factoryName", getFactoryName())
            .append("factoryCode", getFactoryCode())
            .append("inspectionType", getInspectionType())
            .append("inspectionNumber", getInspectionNumber())
            .append("warehouseEntryNumber", getWarehouseEntryNumber())
            .append("materialName", getMaterialName())
            .append("materialSubcode", getMaterialSubcode())
            .append("supplierName", getSupplierName())
            .append("materialUnit", getMaterialUnit())
            .append("barcodeNumber", getBarcodeNumber())
            .append("batchNumber", getBatchNumber())
            .append("warehouseEntryQuantity", getWarehouseEntryQuantity())
            .append("locationCode", getLocationCode())
            .append("locationQuantity", getLocationQuantity())
            .append("qualityControl", getQualityControl())
            .append("qualityNode", getQualityNode())
            .append("qualityProcess", getQualityProcess())
            .append("inspectionItem", getInspectionItem())
            .append("samplingQuantity", getSamplingQuantity())
            .append("inspectionLocation", getInspectionLocation())
            .append("qualityRecordNumber", getQualityRecordNumber())
            .append("inspectorId", getInspectorId())
            .append("inspectorName", getInspectorName())
            .append("inspectionTime", getInspectionTime())
            .append("inspectionResult", getInspectionResult())
            .append("reviewer", getReviewer())
            .append("reviewTime", getReviewTime())
            .append("resultApplication", getResultApplication())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
